*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}
ul{
    list-style: none;
    font-size: 0;
}
.accordion-wrapper{
    width: 1200px;
    height: 400px;
}
.accordion-wrapper li{
    display: inline-block;
    width: 100px;
    font-size: 18px;
    transition: 1s;
    cursor: pointer;
}
.accordion-wrapper div{
    width: 0;
    padding: 80px 59px 80px 41px;
    line-height: 80px;
    opacity: .5;
    background: #000;
    color: #fff;
}
.accordion-wrapper li:hover{
    width: 700px;
}
.accordion-wrapper li:hover ~li{
    width: 100px;
}
.accordion-wrapper li:nth-child(1){
    background: url(image/1.jpg) no-repeat center/cover;
}
.accordion-wrapper li:nth-child(2){
    background: url(image/2.jpg) no-repeat center/cover;
}
.accordion-wrapper li:nth-child(3){
    background: url(image/3.jpg) no-repeat center/cover;
}
.accordion-wrapper li:nth-child(4){
    background: url(image/4.jpg) no-repeat center/cover;
}
.accordion-wrapper li:nth-child(5){
    background: url(image/5.jpg) no-repeat center/cover;
    width: 700px;
}